import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  hidden: false, // hidden控制是否在左侧菜单栏显示，false：显示
  children: [
    {
      path: '', // 默认自动匹配父级路由
      name: 'employees',
      component: () => import('@/views/employees/employees.vue'),
      meta: { title: '员工管理', icon: 'el-icon-user-solid' }
    },
    {
      hidden: true,
      path: 'detail/:id', // 默认自动匹配父级路由
      name: 'detail',
      component: () => import('@/views/employees/detail.vue')
    }
  ]
}
